

#ifndef __COMMON_H_
#define __COMMON_H_
#include "led.h"
#include "driver/gpio.h"
#include "nvs_flash.h"
#include "esp_system.h"
#include "esp_chip_info.h"
#include "esp_psram.h"
#include "esp_flash.h"
#include "usart.h"
#include "iic.h"
#include "24cxx.h"
#include "ethernet_init.h"
#include "esp_log.h"
#include "esp_check.h"
#include "esp_mac.h"
#include "sdkconfig.h"
#include "beep.h"
#include <stdio.h>
#include <stdlib.h>
#include <sys/reent.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include <string.h>
#include <assert.h>
#include <sys/stat.h>
#include <dirent.h>
#include <inttypes.h>
#include "freertos/queue.h"
#include "esp_timer.h"
#include "esp_err.h"
#include "ffconf.h"
#include "errno.h"
#include "dido.h"
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/event_groups.h"
#include "esp_wifi.h"
#include "esp_log.h"
#include "esp_event.h"
#include "nvs_flash.h"
#include "regex.h"
#include "iic.h"

extern char LAN8651_flge;
extern char WIFI_flge;
extern char ETH_flge;
extern char IIC_flge;
extern char SD_flge;


void i2c_scan(i2c_obj_t *iic);
void app_SD(void);
void spi_lan8651(void);
void app_wifi_scan(void);
void encoder_task(void *arg);
void print_encoder_status(uint8_t input_val);
void Flag_Test(void);

#endif


